ExamPlay Light Logo
Đăng nhập

Computer Science for IGCSE & O level - Programming (Section 7 - No. 34)

What is the output of "Hello".Substring(2, 2)?
He
ll
lo
llo

Giải thích

Substring(startIndex, length). Starts at index 2 (the third character, 'l') and retrieves two characters, which is 'll'.

Bình luận (0)

Đăng nhập để bình luận
Quảng cáo
BrainBehindX Inc Logo
©2026; Được cung cấp bởi BrainBehindX Inc